package com.yuexun.dhdoctor.module.Contract.api;


import com.yuexun.dhdoctor.module.Contract.bean.DeleteGroupBean;

import java.util.Map;

import retrofit.http.FieldMap;
import retrofit.http.FormUrlEncoded;
import retrofit.http.POST;
import rx.Observable;

/**
 * Created by work-jx on 2016/7/26.
 */
public interface ManageGroupApi {
    //删除群组
    @FormUrlEncoded
    @POST("deleteGroup.json?")
    Observable<DeleteGroupBean> deleteGroup(@FieldMap Map<String, String> praise);

    //更新群组
    @FormUrlEncoded
    @POST("updateGroup.json?")
    Observable<DeleteGroupBean> updateGroup(@FieldMap Map<String, String> praise);
}
